Depending on the timing and situation it may in fact be totally necessary to send men under your command to detain another soldier in order to ensure their safety.
When this message is clear and credible, colleagues will not hesitate to call one another on errors in safety practice, and news of near misses will pass up the chain of command without impedance.